#ifndef NEWSPAPER
#define NEWSPAPER

#include <QObject>
#include <QString>

class Newspaper : public QObject
{
    Q_OBJECT
public:
    Newspaper(const QString &name):m_name(name) {}
    virtual ~Newspaper() {}

    void send() { emit newPaper(m_name); }
signals:
    void newPaper(const QString &name);
private:
    QString m_name;
};

#endif // NEWSPAPER

